<style type="text/css">
A:link {text-decoration: none; color: #BCC1DD;}
A:visited {text-decoration: none; color: #BCC1DD;}
A:active {text-decoration: none}
A:hover {font-size:2430; font-weight:bold; color: #0099FF;}
</style>



<h1>About Us</h1>

<p>Welcome to the McGill StarCraft II Club! This Club is for SC2 lovers...and all Koreans.</p>

<h1>Roster</h1>

<?php

	// Set table template
	$tmpl = array (
    	'table_open'          => '<table border="6"  style="backgroud-color: #101225 ;" color="BCC1DD" id="mainTable_roster">',                  
        'heading_row_start'   => '<tr class="heading" id="table_headingstart_roster">',
        'heading_row_end'     => '</tr>',
        'heading_cell_start'  => '<th id="table_header_roster">',
        'heading_cell_end'    => '</th>',
        'row_start'           => '<tr id="table_rowstart_roster">',
        'row_end'             => '</tr>',
        'cell_start'          => '<td  id="main_content_roster">',
        'cell_end'            => '</td>',

        'row_alt_start'       => '<tr id="table_rowaltstart_roster">',
        'row_alt_end'         => '</tr>',
        'cell_alt_start'      => '<td id="table_footer_roster">',
        'cell_alt_end'        => '</td>',

        'table_close'         => '</table>'
	);
	
	$table_library->set_template($tmpl);
	
	// Generate table of club leader(s)
	echo "<h2>Club Leader(s)</h2>";
	$table_library->set_heading('Name', 'Order', 'Description');
	$leaders = $roster_model->get_leaders();
	//make names links to profiles
	foreach($leaders as $k => $a){
		$link = anchor('/profile/show/'.$a['account'], $a['account']);
		$leaders[$k]['account'] = $link;
	}
	echo $table_library->generate($leaders);
  	$table_library->clear();

	echo '<br />';

	// Generate table of club admins
	echo "<h2>Club Administrators</h2>";
	$table_library->set_heading('Name', 'Order', 'Description');
	$admins = $roster_model->get_admins();
	//make names links to profiles
	foreach($admins as $k => $a){
		$link = anchor('/profile/show/'.$a['account'], $a['account']);
		$admins[$k]['account'] = $link;
	}
	
	echo $table_library->generate($admins);
	$table_library->clear();
	
?>
